package com.fxkj.cloud.drms.infra.mq.mqtt.sender;

import lombok.Data;

import java.util.List;
import java.util.UUID;

/**
 * <p>description: </p>
 * @author ww
 * @date 2025/4/2 15:06
 */
public abstract class BaseMqttMessage<T> {
    private UUID requestId;
    private List<T> data;

    public BaseMqttMessage(UUID requestId, List<T> data) {
        this.requestId = requestId;
        this.data = data;
    }

    public UUID getRequestId() {
        return requestId;
    }

    public List<T> getData() {
        return data;
    }
}
